def func():
    print("我是tools模块中的func函数")

class Dog:
    def __init__(self, name, age):
        self.name = name
        self.age = age
    def play(self):
        print(f"{self.name}在快乐地玩耍")